#include "usb_device.h"

extern USBD_CDC_HandleTypeDef  *hcdc;

uint8_t  CDC_Init(USBD_HandleTypeDef *pdev, uint8_t cfgidx);

uint8_t CDC_Setup(USBD_HandleTypeDef *pdev, USBD_SetupReqTypedef *req);

void CDC_DataOut(USBD_HandleTypeDef *pdev, uint8_t epnum);

void CDC_DataIn(USBD_HandleTypeDef *pdev, uint8_t epnum);

uint8_t  USBD_CDC_TransmitPacket(USBD_HandleTypeDef *pdev);


